

        <g:set var="entityName" value="${message(code: 'article.label', default: 'Article')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="title" title="${message(code: 'article.title.label', default: 'Title')}" />
                        
                            <g:sortableColumn property="category" title="${message(code: 'article.category.label', default: 'Category')}" />
                         
                            <th><g:message code="article.editor.label" default="Editor" /></th>
                   	    
                            <g:sortableColumn property="hit" title="${message(code: 'article.hit.label', default: 'Hit')}" />
                        
                            <g:sortableColumn property="createTime" title="${message(code: 'article.createTime.label', default: 'Create Time')}" />
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${articleInstanceList}" status="i" var="articleInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${articleInstance.id}">${fieldValue(bean: articleInstance, field: "title")}</g:link></td>
                        
                            <td>${fieldValue(bean: articleInstance, field: "category")}</td>
                         
                            <td>${fieldValue(bean: articleInstance, field: "editor")}</td>
                        
                            <td>${fieldValue(bean: articleInstance, field: "hit")}</td>
                        
                            <td><g:formatDate date="${articleInstance.createTime}" /></td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${articleInstanceTotal}" />
            </div>
